
import requests


headerData = {
   "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9",
    "priority": "u=1, i",
    "sec-ch-ua": "\"Google Chrome\";v=\"125\", \"Chromium\";v=\"125\", \"Not.A/Brand\";v=\"24\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "x-requested-with": "fetch",
    "x-zse-93": "101_3_3.0",
    "x-zse-96": "2.0_YR7v+pq5Dv0AMW1Gf1kSDK+1BRObpqZOAAWToktb6Yt4BXP=xbh+T+n+BV+da1Uh",
    "cookie": "_zap=c3c5f8e7-f11f-4b29-bfa8-61e8ff8dbffc; d_c0=AGASG71KdBmPTuT4zYI_QUrztwP_H_lC27o=|1730080950; __snaker__id=GCQ6xMRMNCo56sgf; q_c1=b8ce070137e3460a9bb35166b624c2da|1730080971000|1730080971000; _xsrf=yVIwFPgTi0ekLGKBSvEjg0HdDZ1wKnfJ; edu_user_uuid=edu-v1|73593bff-7e86-4fc4-ab41-1709f1b07cbc; z_c0=2|1:0|10:1744246947|4:z_c0|80:MS4xZ2psaEFBQUFBQUFtQUFBQVlBSlZUYU5tNUdobjZvYWtycV9SRHBfdWU3WEFIc0JBaFV2X0NBPT0=|1cb8608c61f167dfbcf4656504ea5713bb05602cfc1af250d8e08319fbaef789; Hm_lvt_98beee57fd2ef70ccdd5ca52b9740c49=1744367566,1744593187,1744679441,1744764312; HMACCOUNT=077CACE8C837D310; __zse_ck=004_4cwrxIUkYm7S=qqgKTutaS9w294hgWCtwlrY8F61471qnWvBQnvQtoxX2lv4xugNSopH4FfWn2q6lN7f/Gubi31l7WY7WX00aeIpLZLoX/oC8LpgQyaHpkzQtcyiym4Q-kpZLzemdRNg+as9fx04vym73tdrueWRC1QKwYXN1K84BNrtKKowAXOHAVSRnzvjr9WzB61Dfh5FcDoncKWLac4ja2lxudCOLx7b1VYZX5NxAwCM91gygkxZxjyrz/Rc7; SESSIONID=cggKGZr18jd23G9nFiK65JS1Lm3uLdAil1fXIaLGSTM; JOID=U1gSC0gSWV8mIHPLHBt6RAf7bKkCcDk3ZmUoviIoMjwbGDbzdRl6pEgjdcMYdL74Oqzwgq1Py67vU5znxQKHb3g=; osd=U10SBE4SXF8pJnPOHBR8RAL7Y68CdTk4YGUtvi0uMjkbFzDzcBl1okgmdcwedLv4Narwh61Aza7qU5PhxQeHYH4=; tst=r; Hm_lpvt_98beee57fd2ef70ccdd5ca52b9740c49=1744786733; BEC=6ff32b60f55255af78892ba1e551063a",
    "Referer": "https://www.zhihu.com/people/85-50-27-82/answers",
    "Referrer-Policy": "no-referrer-when-downgrade"
}

people = '85-50-27-82'

def initPage():
  url = 'https://www.zhihu.com/api/v4/members/'+people+'/answers?include=data%5B*%5D.is_normal%2Cadmin_closed_comment%2Creward_info%2Cis_collapsed%2Cannotation_action%2Cannotation_detail%2Ccollapse_reason%2Ccollapsed_by%2Csuggest_edit%2Ccomment_count%2Ccan_comment%2Ccontent%2Ceditable_content%2Cattachment%2Cvoteup_count%2Creshipment_settings%2Ccomment_permission%2Ccreated_time%2Cupdated_time%2Creview_info%2Cexcerpt%2Cpaid_info%2Creaction_instruction%2Cis_labeled%2Clabel_info%2Crelationship.is_authorized%2Cvoting%2Cis_author%2Cis_thanked%2Cis_nothelp%3Bdata%5B*%5D.vessay_info%3Bdata%5B*%5D.author.badge%5B%3F%28type%3Dbest_answerer%29%5D.topics%3Bdata%5B*%5D.author.kvip_info%3Bdata%5B*%5D.author.vip_info%3Bdata%5B*%5D.question.has_publishing_draft%2Crelationship&offset=0&limit=20&sort_by=created&ws_qiangzhisafe=0'
  response = requests.get(headers=headerData,url=url)
  print(response.text)
  # dic = response.json()
 







initPage()
'''
fetch("https://www.zhihu.com/api/v4/members/85-50-27-82/answers?include=data%5B*%5D.is_normal%2Cadmin_closed_comment%2Creward_info%2Cis_collapsed%2Cannotation_action%2Cannotation_detail%2Ccollapse_reason%2Ccollapsed_by%2Csuggest_edit%2Ccomment_count%2Ccan_comment%2Ccontent%2Ceditable_content%2Cattachment%2Cvoteup_count%2Creshipment_settings%2Ccomment_permission%2Ccreated_time%2Cupdated_time%2Creview_info%2Cexcerpt%2Cpaid_info%2Creaction_instruction%2Cis_labeled%2Clabel_info%2Crelationship.is_authorized%2Cvoting%2Cis_author%2Cis_thanked%2Cis_nothelp%3Bdata%5B*%5D.vessay_info%3Bdata%5B*%5D.author.badge%5B%3F%28type%3Dbest_answerer%29%5D.topics%3Bdata%5B*%5D.author.kvip_info%3Bdata%5B*%5D.author.vip_info%3Bdata%5B*%5D.question.has_publishing_draft%2Crelationship&offset=0&limit=20&sort_by=created&ws_qiangzhisafe=0", {
  "headers": {
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9",
    "priority": "u=1, i",
    "sec-ch-ua": "\"Google Chrome\";v=\"125\", \"Chromium\";v=\"125\", \"Not.A/Brand\";v=\"24\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "x-requested-with": "fetch",
    "x-zse-93": "101_3_3.0",
    "x-zse-96": "2.0_YR7v+pq5Dv0AMW1Gf1kSDK+1BRObpqZOAAWToktb6Yt4BXP=xbh+T+n+BV+da1Uh",
    "cookie": "_zap=c3c5f8e7-f11f-4b29-bfa8-61e8ff8dbffc; d_c0=AGASG71KdBmPTuT4zYI_QUrztwP_H_lC27o=|1730080950; __snaker__id=GCQ6xMRMNCo56sgf; q_c1=b8ce070137e3460a9bb35166b624c2da|1730080971000|1730080971000; _xsrf=yVIwFPgTi0ekLGKBSvEjg0HdDZ1wKnfJ; edu_user_uuid=edu-v1|73593bff-7e86-4fc4-ab41-1709f1b07cbc; z_c0=2|1:0|10:1744246947|4:z_c0|80:MS4xZ2psaEFBQUFBQUFtQUFBQVlBSlZUYU5tNUdobjZvYWtycV9SRHBfdWU3WEFIc0JBaFV2X0NBPT0=|1cb8608c61f167dfbcf4656504ea5713bb05602cfc1af250d8e08319fbaef789; Hm_lvt_98beee57fd2ef70ccdd5ca52b9740c49=1744367566,1744593187,1744679441,1744764312; HMACCOUNT=077CACE8C837D310; __zse_ck=004_4cwrxIUkYm7S=qqgKTutaS9w294hgWCtwlrY8F61471qnWvBQnvQtoxX2lv4xugNSopH4FfWn2q6lN7f/Gubi31l7WY7WX00aeIpLZLoX/oC8LpgQyaHpkzQtcyiym4Q-kpZLzemdRNg+as9fx04vym73tdrueWRC1QKwYXN1K84BNrtKKowAXOHAVSRnzvjr9WzB61Dfh5FcDoncKWLac4ja2lxudCOLx7b1VYZX5NxAwCM91gygkxZxjyrz/Rc7; SESSIONID=cggKGZr18jd23G9nFiK65JS1Lm3uLdAil1fXIaLGSTM; JOID=U1gSC0gSWV8mIHPLHBt6RAf7bKkCcDk3ZmUoviIoMjwbGDbzdRl6pEgjdcMYdL74Oqzwgq1Py67vU5znxQKHb3g=; osd=U10SBE4SXF8pJnPOHBR8RAL7Y68CdTk4YGUtvi0uMjkbFzDzcBl1okgmdcwedLv4Narwh61Aza7qU5PhxQeHYH4=; tst=r; Hm_lpvt_98beee57fd2ef70ccdd5ca52b9740c49=1744786733; BEC=6ff32b60f55255af78892ba1e551063a",
    "Referer": "https://www.zhihu.com/people/85-50-27-82/answers",
    "Referrer-Policy": "no-referrer-when-downgrade"
  },
  "body": null,
  "method": "GET"
});
'''